package com.ruoyi.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tyc_research
 * 
 * @author ruoyi
 * @date 2020-09-14
 */
public class TycResearch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 序号 */
    @Excel(name = "序号")
    private Integer numbers;

    /** 组织机构 */
    @Excel(name = "组织机构")
    private String organization;

    /** 项目类别 */
    @Excel(name = "项目类别")
    private String category;

    /** 获奖成果名称 */
    @Excel(name = "获奖成果名称")
    private String rname;

    /** 获奖时间 */
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rtime;

    /** 获奖类别 */
    @Excel(name = "获奖类别")
    private String awardc;

    /** 获奖等级 */
    @Excel(name = "获奖等级")
    private String aclass;

    /** 赋分 */
    @Excel(name = "赋分")
    private BigDecimal grade;

    /** 奖金 */
    @Excel(name = "奖金")
    private BigDecimal bonus;

    /** 其他参与人员 */
    @Excel(name = "其他参与人员")
    private String elses;

    /** 上传人 */
    @Excel(name = "上传人")
    private String applyn;

    /** 附件（上传文件） */
    @Excel(name = "附件", readConverterExp = "上=传文件")
    private String accessory;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Integer status;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /** 备案 */
    @Excel(name = "备案")
    private Integer onRecords;
    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNumbers(Integer numbers)
    {
        this.numbers = numbers;
    }

    public Integer getNumbers()
    {
        return numbers;
    }
    public void setOrganization(String organization) 
    {
        this.organization = organization;
    }

    public String getOrganization() 
    {
        return organization;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setRname(String rname) 
    {
        this.rname = rname;
    }

    public String getRname() 
    {
        return rname;
    }
    public void setRtime(Date rtime) 
    {
        this.rtime = rtime;
    }

    public Date getRtime() 
    {
        return rtime;
    }
    public void setAwardc(String awardc) 
    {
        this.awardc = awardc;
    }

    public String getAwardc() 
    {
        return awardc;
    }
    public void setAclass(String aclass)
    {
        this.aclass = aclass;
    }

    public String getAclass()
    {
        return aclass;
    }
    public void setGrade(BigDecimal grade)
    {
        this.grade = grade;
    }

    public BigDecimal getGrade()
    {
        return grade;
    }
    public void setBonus(BigDecimal bonus)
    {
        this.bonus = bonus;
    }

    public BigDecimal getBonus()
    {
        return bonus;
    }
    public void setElses(String elses)
    {
        this.elses = elses;
    }

    public String getElses()
    {
        return elses;
    }
    public void setApplyn(String applyn) 
    {
        this.applyn = applyn;
    }

    public String getApplyn() 
    {
        return applyn;
    }
    public void setAccessory(String accessory) 
    {
        this.accessory = accessory;
    }

    public String getAccessory() 
    {
        return accessory;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOnRecords(Integer onRecords) 
    {
        this.onRecords = onRecords;
    }

    public Integer getOnRecords() 
    {
        return onRecords;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("numbers", getNumbers())
            .append("organization", getOrganization())
            .append("category", getCategory())
            .append("rname", getRname())
            .append("rtime", getRtime())
            .append("awardc", getAwardc())
            .append("aclass", getAclass())
            .append("grade", getGrade())
            .append("bonus", getBonus())
            .append("elses", getElses())
            .append("applyn", getApplyn())
            .append("accessory", getAccessory())
            .append("status", getStatus())
            .append("onRecords", getOnRecords())
            .toString();
    }
}
